using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for ShipperInfo
/// </summary>
public class ShipperInfo
{
    int id;
    string companyName;
    string phone;
    public ShipperInfo()
    {
        id = -1;
        companyName = "";
        phone = "";
    }

    #region properties
    public int ID
    {
        get { return id; }
        set { id = value; }
    }
    public string CompanyName
    {
        get { return companyName; }
        set { companyName = value; }
    }
    public string Phone
    {
        get { return phone; }
        set { phone = value; }
    }
    public override bool Equals(object obj)
    {
        ShipperInfo sh = obj as ShipperInfo;
        return this.id==sh.id;
    }
    #endregion
}
